package com.cloud.server.service.order;

import com.cloud.server.domain.order.OrderIntegralDetails;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.server.from.order.OrderIntegralDetailsFrom;
import com.cloud.server.from.user.PraiseFrom;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuyuan
 * @since 2021-11-28
 */
public interface OrderIntegralDetailsService extends IService<OrderIntegralDetails> {

    boolean praise(PraiseFrom praiseFrom) throws Exception;

    boolean criticism(PraiseFrom praiseFrom) throws Exception;

    List<OrderIntegralDetails> getByUserId(OrderIntegralDetailsFrom orderIntegralDetailsFrom) throws Exception;
}
